package ooday02;

public class Test {
    public static void main(String[] args) {
        Student ww = new Student("王伟",24,"陕西","jsd2507","1120");
        ww.study();
        ww.sayHi();

        Doctor jj = new Doctor("李四",24,"陕西","脑科主任");
        jj.sayHi();

        Teacher zf = new Teacher("张飞",50,"菏泽",50.55);
        zf.sayHi();
    }
}
